package com.allwees.bs.module.oms.service;

import com.allwees.bs.core.modelbase.branch.EBranchType;
import com.allwees.bs.module.base.service.BoService;
import com.allwees.bs.module.oms.entity.AccountTransit;
import com.allwees.bs.module.oms.entity.FmsMerchantAccount;


public interface AccountService  extends BoService<FmsMerchantAccount>  {

    /**
     * 查询商户默认账户
     *
     * @param branchType
     * @param branchUuid
     * @return
     */
    FmsMerchantAccount findDefaultMerchantAccount(EBranchType branchType, String branchUuid);


    boolean doWaitingShipAmt(  AccountTransit accountTransit );

    boolean doRefundAmtShipped(  AccountTransit accountTransit);

    boolean doPlatformRefundAmt(AccountTransit accountTransit);

    boolean doRetailerRefundAmt(AccountTransit accountTransit);

    boolean doRefundAmtWaitShip(AccountTransit accountTransit);

    boolean doInShippingAmt( AccountTransit accountTransit);

    boolean doUnSettle(  AccountTransit accountTransit);

    boolean doSettle( AccountTransit accountTransit);
}
